package helper

const (
	// common

	ErrorCodeCommonNotFound = 1404

	// # 1 基础

	// # 2 应用

	// # 3 改造

	// # 456 外包
	// 401xx garage 车库

	ErrorCodeGarageBadRequest = 40101
	ErrorCodeGarageNotFound   = 40102

	ErrorMessageGarageBadRequest = "Bad Request"
	ErrorMessageGarageNotFound   = "Not Found"
)

func GetMessage(code int) string {
	data := map[int]string{
		ErrorCodeGarageBadRequest: ErrorMessageGarageBadRequest,
		ErrorCodeGarageNotFound:   ErrorMessageGarageNotFound,
	}

	return data[code]
}
